package cn.lanqiao.springboot.mapper;


import cn.lanqiao.springboot.entity.Role;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface RoleMapper {

    @Select("select * from system_role")
    List<Role> selectAllRoles();

    @Update("")
    void updateRole(Role role);
}
